<spring:htmlEscape defaultHtmlEscape="true" />
<ul id="menu">
	<li class="first"><a
		href="${pageContext.request.contextPath}/admin"><spring:message
				code="admin.title.short" /></a></li>

	<li
		<c:if test='<%= request.getRequestURI().contains("/manage") %>'>class="active"</c:if>>
		<a
		href="${pageContext.request.contextPath}/module/basicexample/manage.form"><spring:message
				code="basicexample.manage" /></a>
	</li>
	
	<li
		<c:if test='<%= request.getRequestURI().contains("/homePage") %>'>class="active"</c:if>>
		<a
		href="${pageContext.request.contextPath}/module/basicexample/homePage.jsp"><spring:message
				code="basicexample.homePage" /></a>
	</li>
	<!-- Add further links here -->
</ul>
<h2>
	<spring:message code="basicexample.title" />
</h2>


<!--Header Codes-->
<style>
.bc
{
background-color:#FF9999;
}

.sc
{
background-color:#FCFBE3;
}

#tb
{
border:1px black;
border-collapse:collapse;
padding:15px;
}

</style>

	<div style="background-color:#6AE3AD; border-radius:5px; width:99%; height:55px; position:fixed;">
		<table id="tb" style="margin-top:10px;">
		<td  type="button;" onmouseover="this.style.backgroundColor='#D9FFA9';" onmouseout="this.style.backgroundColor='';" onclick="return view()" style="font-family:Arial Mono; font-size:15px; height:40px; letter-spacing:1px; text-align:left; padding-left:20px;"><em>Patient Record</em></td></tr></table>
		
		<p style="font-family:Arial Mono; font-size:20px; letter-spacing:2px; text-align:right; margin-top:-20px; margin-right:10px;">Open Medical Records System</p>

		<div class="bc" style="margin:-65px auto; border-radius:50%; padding:10px;  width:95px; height:95px;">
		<div class="sc" type="button;" onmouseover="this.style.backgroundColor='#FF6666';" onmouseout="this.style.backgroundColor='';" onclick="return home()" style="margin:-1px auto; border-radius:50%; padding:10px;  width:75px; height:75px;">
			<p style="color:333333; font-family:Verdana; font-size:12px; padding-top:15px; text-align:center;">OpenMRS</p>
		</div>

	</div>

<body>
	<script language="javascript" type="text/javascript">

		function home() 
		{
			window.location.href = <%<a href=${pageContext.request.contextPath}/module/basicexample/homePage.jsp>%>;
		}
		
		function view() 
		{
			window.location.href = <%<a href=${pageContext.request.contextPath}/module/basicexample/viewRecord.jsp>%>;
		}

	</script>
<body>

